#ifndef MYLISTWIDGET_H
#define MYLISTWIDGET_H
#include<QListWidget>
#include<QScrollBar>

class MyListWidget : public QListWidget
{
    Q_OBJECT
public:
    explicit MyListWidget(QWidget *parent = nullptr);

signals:
    void mysliderChanged(int p);
    void reachedBottom();

private slots:
    void onSliderChanged(int p);

private:
    QScrollBar* m_vscrollBar;
};
#endif // MYLISTWIDGET_H
